package com.mybatis04.mapper;


import com.mybatis04.pojo.Emp;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

/**
 * @author wzm
 * @create 2023-09-27 11:16
 * project_name:javaweb2308
 */
@Mapper
public interface EmpMapper {

    //查询员工的信息
    Emp getEmpById(int id);

    //根据部门id查询员工信息
    List<Emp> getEmpList(int deptId);



}
